package com.dna.service;

import java.util.List;
import java.util.Set;

import com.dna.entity.MenuEntity;
import com.dna.entity.UserEntity;

/**
 * 菜单管理
 */
public interface MenuService {

	Set<String> queryPerByRoleId(Long roleId);

	List<MenuEntity> queryByUser(UserEntity userEntity);

	/**
	 * 查询所有菜单
	 */
	List<MenuEntity> queryAll();

	MenuEntity queryOne(MenuEntity menu);

	/**
	 * 新增菜单项
	 */
	void save(MenuEntity menu);

	/**
	 * 更新菜单项
	 */
	void update(MenuEntity menu);

   

	/**
	 * 删除菜单项
	 */
	/*void delete(Long id);*/
	 void delete(Set<Long> ids);
}
